cc=g++

.PHONY:all
all:UDPServer UDPClient

UDPServer:UDPServer.cc
	${cc} -o $@ $^ -std=c++11
UDPClient:UDPClient.cc
	${cc} -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf UDPClient UDPServer